package com.els.search.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.els.search.entity.FakeNews;


/**
 * @title: FakeNewsService
 * @projectName fake-baidu
 * @Date: 2021/7/12 12:43
 * @Author: lei.yu-esint
 * @Description:
 */
public interface TestFakeNewsService {

    public IPage selectData(String keyword, String page, String size);

    //创建索引
    public void careateIndex();

    //获取索引请求
    public void getIndex();

    //删除索引
    public void deleteIndex();

    //创建文档
    public void addDocument();

    //获取文档
    public void getIndexDocument();

    //更新文档
    public void updateIndexDocument();

    //删除文档
    public void deleteIndexDocument();

    //批量查询、插入
    public void bulkRequest();

    //查询
    public void searchDoc();

    public FakeNews addData();

}
